package blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
@TableName("notice_category")
public class NoticeCategory implements Serializable{

    @TableId(type = IdType.AUTO, value = "id")
	private Integer id;
    
    @TableField("name")
	private String name;

    @TableField("serial")
	private Integer serial;

    //'0下架1上架2假删除'
    @TableField("isuse")
	private Integer isuse;

    @TableField("gmt_create")
    private Integer gmtCreate;

    @TableField("gmt_update")
    private Integer gmtUpdate;

    @TableField(exist = false)
    private List<Notice> noticeList;
}
